<?php
/**
* Copyright 2009 Waag Society <http://www.waag.org>
* This file is part of Annotrax.
*
* Annotrax is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License,
* or (at your option) any later version.
*
* Annotrax is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Annotrax.
* If not, see http://www.gnu.org/licenses/gpl.html
*/

?>
<?php
//view script for "access denied" page
/*
         $form = new Default_Form_Login();

        $this->view->pageTitle  = 'Please log in...';
        $this->view->form       = $form;
        $this->view->content    = '<h4>Please log in first!</h4>'
                                . '<p>We\'re not too strict about this, however,'
                                . ' we do like you to <a href="/user/login">log in'
                                . ' using your OpenId</a></p>'
        ;

//        $this->render( 'login', 'middleSection', true);


*/
?>
<div class="section">
	<h1><?php echo $this->translate("You are not allowed to acces that page!") ?></h1>
	<p>
		<?php echo $this->translate("If you were trying to create a new annotation, you may have to login first ") ?>
		<a href="/"><?php echo $this->translate( "back the home-page" ) ?></a>
		<br/><br/>
	</p>
	<p>
		<?php echo new Default_Form_Login() ?>
	</p>
</div>
